PDFView4NET WPF Edition
Open(String,Byte[]) Method




O2S.Components.PDFRender4NET.WPF Namespace > PDFFile Class > Open Method : Open(String,Byte[]) Method
the full path to a pdf file used as source for this PDFFile object.
the user password used to decrypt the PDF file.
Creates a PDFFile object from the given pdf file.
Syntax
'Declaration
 
Public Overloads Shared Function Open( _
   ByVal fileName As String, _
   ByVal userPassword() As Byte _
) As PDFFile
'Usage
 
Dim fileName As String
Dim userPassword() As Byte
Dim value As PDFFile
 
value = PDFFile.Open(fileName, userPassword)
public static PDFFile Open( 
   string fileName,
   byte[] userPassword
)
public: static PDFFile* Open( 
   string* fileName,
   byte[]* userPassword
) 

Parameters

fileName
the full path to a pdf file used as source for this PDFFile object.
userPassword
the user password used to decrypt the PDF file.

Return Value

A PDFFile object created based on the given pdf file.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFFile Class
PDFFile Members
Overload List